money = 50000                           # 本金5000元
rate = [0.0325,0.03,0.03,0.02,0.0175]   # 利率列表
for r in rate:
    money*=1+r                          # 等价于money=money*(1+r)
print('5年后存款总额:',money,'元')       # 输出结果